export default function accountReducer(state={users:[]},action){
    switch(action.type){
        case "INITUSERS":
            state.users = action.payload
            return {...state}
        default:
            return state
        
    }
}